package com.polymorphismodeldemo;

/**
 * @Auther: shiquan
 * @Date: 2024/10/21 - 10 - 21 -11:30
 */
public class Teacher extends Person {

    @Override
    public void show() {
        System.out.println("老师的信息为:"+getName()+","+getAge());
    }
}
